<?php include 'application/config.php'; ?>
<!--Main Container-->
<div id="main">
    <!--Content-->
    <div id="content">
        
        <form name="confirm_delete" action="" method="post">
            <label for="pass">Veuillez entrer le mot de passe :</label>
            <input onfocus="this.value=''" type="text" name="pass" id="pass" value=""/>
            <p>
                <input type="submit" name="save" class="button" value="Sauvegarder" />
            </p>
        </form>
        <?php 
        if (isset($_POST['save']))
        {
            $input = $config['salt_prefix'].$_POST['pass'].$config['salt_suffix'];
            $hashed = hash("sha512",$input);
            echo $hashed;
        }
        
        ?>
    </div>
</div>
